package cn.entity;

import java.io.Serializable;
import java.util.List;

public class Orders implements Serializable{
    private Integer id;

    private Integer uid;
    
    private Users users;
    
    
    public Users getUsers() {
		return users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	private String orderno;

    private Double price;

    private String optime;

    private String status;

    private String remark;

    private Integer isdel;

    public Orders(Integer id, Integer uid, String orderno, Double price, String optime, String status, String remark, Integer isdel) {
        this.id = id;
        this.uid = uid;
        this.orderno = orderno;
        this.price = price;
        this.optime = optime;
        this.status = status;
        this.remark = remark;
        this.isdel = isdel;
    }

    private List<Ordersdetail> details;
    
    
    public List<Ordersdetail> getDetails() {
		return details;
	}

	public void setDetails(List<Ordersdetail> details) {
		this.details = details;
	}

	public Orders() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getOrderno() {
        return orderno;
    }

    public void setOrderno(String orderno) {
        this.orderno = orderno == null ? null : orderno.trim();
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getOptime() {
        return optime;
    }

    public void setOptime(String optime) {
        this.optime = optime == null ? null : optime.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getIsdel() {
        return isdel;
    }

    public void setIsdel(Integer isdel) {
        this.isdel = isdel;
    }
}